class window.CPJSON
	getHTML : (uri) ->
		response = null				
		$.ajax	        			
	        dataType: 'html'	        
	        crossDomain: true	        
	        url: uri
	        async: false	        
	        error: (jqXHR, textStatus, errorThrown) ->
	            $('body').append "AJAX Error: #{textStatus}"
	        success: (data, textStatus, jqXHR) -> 	        		        	
	        	response = data		        	
		response
	#...	
	getJSON : (uri) ->
		response = null				
		$.ajax	        
	        dataType : 'json'
	        crossDomain: true	        
	        url: uri
	        async: false	        
	        error: (jqXHR, textStatus, errorThrown) ->
	            $('body').append "AJAX Error: #{textStatus}"
	        success: (data, textStatus, jqXHR) -> 	        		        	
	        	response = data		        	
		response
	#...